package proxy.rmi;

import java.rmi.Remote;
import java.rmi.RemoteException;

/**
 * @description: RMI远程调用接口
　* @author 周杨
　* @date 2019/6/13  11:32
**/
public interface MyRemote extends Remote {
    /**
     * 调用函数
     * @return 字符
     * @throws RemoteException 异常
     */
    public String sayHello() throws RemoteException;
}
